package com.bruce.principle.segregation;

import lombok.extern.slf4j.Slf4j;

/**
 * Created by bruce on 2018/10/23 22:09
 */
@Slf4j
public class Dog2 implements SwimAnimalAction {
    @Override
    public void eat() {
        log.info("狗会吃饭");
    }

    @Override
    public void swim() {
        log.info("狗会游泳");
    }
}
